# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Climate
    class OrderUpdateParams < ::Stripe::RequestParams
      class Beneficiary < ::Stripe::RequestParams
        # Publicly displayable name for the end beneficiary of carbon removal.
        attr_accessor :public_name

        def initialize(public_name: nil)
          @public_name = public_name
        end
      end
      # Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.
      attr_accessor :beneficiary
      # Specifies which fields in the response should be expanded.
      attr_accessor :expand
      # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
      attr_accessor :metadata

      def initialize(beneficiary: nil, expand: nil, metadata: nil)
        @beneficiary = beneficiary
        @expand = expand
        @metadata = metadata
      end
    end
  end
end
